package com.heima.home.service;

import com.heima.home.dto.LoginRequest;
import com.heima.home.dto.RegisterRequest;
import com.heima.home.dto.UserInfoResponse;
import com.heima.home.entity.Users;

public interface UserService {
    void register(RegisterRequest request);
    String login(LoginRequest request);
    UserInfoResponse getUserInfo(Integer userId);
    void updateAvatar(Integer userId, String avatar);
    int updateUserInfo(Users user);
}